// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:19

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   r1.java

package com.zelix;

import java.awt.Component;
import java.io.File;
import javax.swing.*;

// Referenced classes of package com.zelix:
//            b0, v1, xz, qz

class r1 extends DefaultListCellRenderer
{

    private final v1 a;
    b0 b;
    xz c;

    r1(v1 v1_1)
    {
        a = v1_1;
        c = new xz();
        b = new b0();
    }

    public Component getListCellRendererComponent(JList jlist, Object obj, int i, boolean flag, boolean flag1)
    {
        File file;
        int j;
        int k;
        k = qz.a;
        super.getListCellRendererComponent(jlist, obj, i, flag, flag1);
        file = (File)obj;
        if(file == null)
        {
            setText("");
            return this;
        }
        j = 0;
        if(i == -1) goto _L2; else goto _L1
_L1:
        File file1 = file.getParentFile();
        if(k == 0) goto _L4; else goto _L3
_L3:
        j++;
        file1 = file1.getParentFile();
_L4:
        if(file1 != null) goto _L3; else goto _L2
_L2:
        javax.swing.Icon icon = b.a(file);
        c.a = icon;
        c.b = j;
        setIcon(c);
        return this;
    }
}